package com.clf.springBoot.modules.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: chenglongfei
 * @date: 2022/7/12
 * @Description CommonController
 */
@Controller
@RequestMapping("/common")
public class CommonController {


            /**
             * 127.0.0.1/common/403 ---------get
             */
            @GetMapping("/403")
            public String PageFor403(){
                return "indexError";
            }


            /**
             * 127.0.0.1/common/404 ---------get
             */
            @GetMapping("/404")
            public String PageFor404(){
                return "indexError";
            }


            /**
             * 127.0.0.1/common/500 ---------get
             */
            @GetMapping("/500")
            public String PageFor500(){
                return "indexError";
            }
}
